class CreateAssignments < ActiveRecord::Migration
  def self.up
    create_table :assignments do |t|
    t.column :name, :string, :null => false
    t.column :working_domain_id, :integer
    t.column :periodicity, :string
    t.column :completion_day, :integer
    t.column :completion_month, :string
    t.column :avg_time_required, :integer
    t.column :fees, :integer
    end
  end

  def self.down
    drop_table :assignments
  end
end
